<h2><a href="<?php echo $this->baseUrl('/admin/dimension-create/'); ?>">Nhập tỉ lệ mới</a></h2>

<div class="parameters">
    <table cellspacing="0" cellpadding="0" class="tbLarger">
        <tr>
            <th>Tỉ lệ</th>  
			<th width="100">&nbsp;</th>
        </tr>  
        <?php foreach($this->dimensions as $key => $dimension) { ?>
	    <tr <?php if( $key % 2 == 1 ) echo 'class="highlight"'; ?>>
			<td><?php echo $dimension['dim_value']; ?></td>
			<td><a href="<?php echo $this->baseUrl('/admin/dimension-update/dim_id/'.$dimension['dim_id']); ?>">Sửa</a> | 
				<a href="<?php echo $this->baseUrl('/admin/dimension-delete/dim_id/'.$dimension['dim_id']); ?>" onclick="return confirm('Bạn có thật sự muốn xóa hay không ?');">Xóa</a>
				</td>
		</tr>
	    <?php } ?>
    </table>
</div>
        